package P024_Boundary;

import java.util.Scanner;

/**
 * 边界 2147483647
 */
public class Boundary {
    private static final int LIMIT = 2000;

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()) {
            int nextInt = scanner.nextInt();
            if (nextInt + 1000 <= LIMIT) {
                System.out.println("校验通过");
            } else {
                System.out.println("非法");
            }
        }
    }
}
